@charset "utf-8";

//导航栏的背景颜色
.navbar{
    background-color:#222;
    margin-bottom: 0;
    border-color: transparent;
    border-radius: 0px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1200;
    .container-fluid{
        
    }
}
//导航的a标签颜色
.navbar-default .navbar-nav > li > a{
    color: #858585;
}
//导航激活类的样式
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus{
    background: #080808;
    color: white;
}
//logo的位置
.navbar-brand{
    padding-top:0;
    padding-bottom: 0px;
    line-height: 50px;
    img{
        display: inline-block;
   }
}
.container-fluid{
    margin-right:7% ;
    margin-left: 7%;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form{
    border-color:transparent ;
    
}
.carousel {
    padding-top: 52px;
}


//主要内容区
.one-box{
    width: 100%;
    //第一部分
    .text-one{
        .row{
            .text-one-a{
                p{
                    width: 40px;
                    height: 100px;
                    font-size: 20px;
                    color: white;
                    padding-top: 10px;
                    padding-left: 10px;
                    padding-right: 10px;
                }
            }
            .text-one-c{
                margin-top: 17px;
//              margin: 0 auto;
                padding-left: 0;
                div{
                    margin-bottom: 20px;
                    img{  
                        border-radius: 12px;
                        transition: all 0.5s;
                        &:hover{
                            opacity: 0.8;
                        }
                    }
                }
            }
        }
    }
    //第二部分
    .text-two{
        .row{
            
        }
    }
    .text-two-c{
        img{
            transition: all 0.5s;
            &:hover{
                opacity: 0.8;
            }
        }   
    }
    //第三部分
    .text-three{
        .row{
            .text-three-a{
                a{
                    font-size: 30px;
                    color: black;
                }
            }
            .text-three-b{
                text-align: center;
                margin-bottom: 30px;
                position: relative;
                overflow: hidden;
                &:hover{
                       p{
                            top:0px;
                            border-radius: 12px;
                        }
                    }
                img{
                    border-radius: 12px;
                    
                }
                a{
                    display: block;
                    margin: 0 auto;
                    margin-top: 10px;
                    font-size: 14px;
                    color: black;
                }
                p{
                    width: 303px;
                    height: 133px;
                    padding-top: 10px;
                    position: absolute;
                    top:-134px;
                    color: white;
                    background:  rgba(124,126,127,0.5);
                    
                    transition: all 0.8s;
                }
            }
        }
    }   
}

//底部
.footer {
    background: #3b3b3b;
    padding: 30px 0;
    .row {
        margin-right: 0;
    }
}

.footer-a {
    a {
        font-size: 14px;
        color: #818288;
    }
    p {
        font-size: 14px;
        color: #818288;
        margin-top: 15px;
    }
}

.footer-b {
    text-align: right;
    position: relative;
    a {
        margin-left: 20px;
    }
    .te-img-a{
        position: absolute;
        top:-200px;
        left: 160px;
        opacity: 0;
        transition: all 0.8s;
        display: none;
    }
    .te-img-b{
        position: absolute;
        top:-200px;
        left: 220px;
        opacity: 0;
        transition: all 0.8s;
        display: none;
    }
    .te-img-c{
        position: absolute;
        top:-200px;
        left: 285px;
        opacity: 0;
        transition: all 0.8s;
        display: none;
    }
    .a-one{
        &:hover{
            +.te-img-a{
                display: block;
                opacity: 1;
                top:-160px;
            }
        }
    }
    .a-two{
        &:hover{
            +.te-img-b{
                display: block;
                opacity: 1;
                top:-160px;
            }
        }
    }
    .a-three{
        &:hover{
            +.te-img-c{
                display: block;
                opacity: 1;
                top:-160px;
            }
        }
    }
}





//媒体查询
@media screen and (min-width:992px){
    //第一部分
        .text-one{
            width: 1000px;
            height: 100%;
            margin: 0 auto;
            background: url(../img/game/game-a.png) no-repeat left bottom;
        }
        .text-one-a{
            padding-left: 0;
            background:url(../img/game/remeng.png) no-repeat left top;
        }
        .text-one-b{
            text-align: right;
            float: right;
            padding-top: 18px;
            h1{
                font-size: 30px;
            }
            p{
                font-size: 14px;
                color: #9b9b9b;
                line-height: 30px;
            }
        }
        //第二部分
        .text-two{
            width: 1000px;
            height: 100%;
            margin: 0 auto;
            background: url(../img/game/game-b.png) no-repeat right bottom;
        }
        .text-two-b{
//          text-align: right;
//          float: right;
            padding-top: 18px;
            h1{
                font-size: 30px;
            }
            p{
                font-size: 14px;
                color: #9b9b9b;
                line-height: 30px;
            }
        }
        .text-two-c{
                margin-top: 17px;
//              margin: 0 auto;
                padding-left: 0;
                div{
                    margin-bottom: 20px;
                    img{
                        
                    border-radius: 12px;
                    }
                }
            }
        //第三部分
        .text-three{
            width: 1000px;
            margin-top: 40px;
        }
        
}
@media screen and (max-width:992px){
    //第一部分
    .text-one{
        width: 100%;
        height: 100%;
        margin: 0 auto;
        background: none;
    }
    .text-one-a{
        padding-left: 0;
        background:url(../img/game/remeng.png) no-repeat left top;
//      display: none;
    }
    .text-one-b{
            text-align: right;
//          float: right;
            padding-top: 18px;
            h1{
                font-size: 30px;
            }
            p{
                font-size: 14px;
                color: #9b9b9b;
                line-height: 30px;
            }
        }
        
        //第二部分
        .text-two{
            width: 100%;
            height: 100%;
            margin: 0 auto;
            background: none;
        }
        .text-two-b{
//          text-align: right;
//          float: right;
            padding-top: 18px;
            h1{
                font-size: 30px;
            }
            p{
                font-size: 14px;
                color: #9b9b9b;
                line-height: 30px;
            }
        }
        .text-two-c{
            margin-top: 17px;
            padding-left: 0;
            margin-left: 8.3%;
            div{
                margin-bottom: 20px;
                img{   
                    border-radius: 12px;
                }
            }
        }
        //第三部分
        .text-three{
            width: 100%;
            margin-top: 40px;
        }
        
}
@media screen and (max-width:767px){
    //第一部分
    .text-one{
        width: 100%;
        height: 100%;
        margin: 0 auto;
        background: none;
        text-align: center;
    }
    .text-one-a{
        padding-left: 0;
        background:url(../img/game/remeng.png) no-repeat left top;
//      display: none;
    }
    .text-one-b{
            text-align: right;
//          float: right;
            padding-top: 18px;
//          margin: 0 auto;
            h1{
                font-size: 30px;
            }
            p{
                font-size: 14px;
                color: #9b9b9b;
                line-height: 30px;
            }
        }
        //第二部分
    .text-two{
        width: 100%;
        height: 100%;
        margin: 0 auto;
        background: none;
        text-align: center;
    }
    .text-two-a{
        padding-left: 0;
        background:none;
        display: none;
    }
    .text-two-b{
            text-align: left;
//          float: right;
            padding-top: 18px;
//          margin: 0 auto;
            h1{
                font-size: 30px;
            }
            p{
                font-size: 14px;
                color: #9b9b9b;
                line-height: 30px;
            }
        }
        .text-two-c{
            margin-top: 17px;
            padding-left: 0;
            margin-left:0 ;
            div{
                margin-bottom: 20px;
                img{
                    border-radius: 12px;
                }
            }
        }
        //第三部分
        .text-three{
            width: 100%;
            margin-top: 40px;
        }
}    
